// AssessmentDetail.java
package com.projects.modular.realty.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 诊断详情实体类
 *
 * @author 曾大顺
 * @since 2025-02-11
 */
@Data
@TableName("t_assessment_detail")
@ApiModel("评估详情")
public class AssessmentDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评估详情ID
     */
    @TableId(value = "assessment_detail_id", type = IdType.UUID)
    @ApiModelProperty("评估详情ID")
    private String assessmentDetailId;

    /**
     * 诊断id
     */
    @TableField("diagnosis_id")
    @ApiModelProperty("诊断ID")
    private String diagnosisId;

    /**
     * 评估标题
     */
    @TableField("title")
    @ApiModelProperty("评估标题")
    private String title;

    /**
     * 评估内容
     */
    @TableField("content")
    @ApiModelProperty("评估内容")
    private String content;

    /**
     * 评估角色
     */
    @TableField("role")
    @ApiModelProperty("评估角色")
    private String role;

    /**
     * 评估时长
     */
    @TableField("duration")
    @ApiModelProperty("评估时长(分钟)")
    private Integer duration;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;
}
